﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Xml.Linq;
using System.Collections.ObjectModel;
using LUStationery.DAO;
using LUStationery.Model;

namespace LUStationery.Model
{
    public class User
    {

        public User()
        {

        }
        private string _userName;

        public string UserName
        {
            get { return _userName; }
            set { _userName = value; }
        }
        private string _departmentCode;

        public string DepartmentCode
        {
            get { return _departmentCode; }
            set { _departmentCode = value; }
        }
        private string _departmentName;

        public string DepartmentName
        {
            get { return _departmentName; }
            set { _departmentName = value; }
        }
        private string _position;

        public string Position
        {
            get { return _position; }
            set { _position = value; }
        }
        private string _staffID;

        public string StaffID
        {
            get { return _staffID; }
            set { _staffID = value; }
        }
        private string _role;

        public string Role
        {
            get { return _role; }
            set { _role = value; }
        }

        private string _email;

        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }
        private string _password;

        public string Password
        {
            get { return _password; }
            set { _password = value; }
        }

    }
    public class UserList : Collection<User> { }


}